package com.ruoyi.Information.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社区财务流水对象 community_finance
 * 
 * @author xianyu
 * @date 2025-04-04
 */
public class CommunityFinance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 收入 */
    @Excel(name = "收入")
    private BigDecimal amount;

    /** 类别 */
    @Excel(name = "类别")
    private String category;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 凭证附件 */
    @Excel(name = "凭证附件")
    private String proofUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }

    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setProofUrl(String proofUrl) 
    {
        this.proofUrl = proofUrl;
    }

    public String getProofUrl() 
    {
        return proofUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("amount", getAmount())
            .append("category", getCategory())
            .append("description", getDescription())
            .append("proofUrl", getProofUrl())
            .append("createTime", getCreateTime())
            .toString();
    }
}
